package com.ruoyi.system.mapper;

import java.util.List;
import com.ruoyi.system.domain.Zhanghu;

/**
 * 账户Mapper接口
 * 
 * @author ruoyi
 * @date 2024-08-12
 */
public interface ZhanghuMapper 
{
    /**
     * 查询账户
     * 
     * @param zhId 账户主键
     * @return 账户
     */
    public Zhanghu selectZhanghuByZhId(String zhId);

    /**
     * 查询账户列表
     * 
     * @param zhanghu 账户
     * @return 账户集合
     */
    public List<Zhanghu> selectZhanghuList(Zhanghu zhanghu);

    /**
     * 新增账户
     * 
     * @param zhanghu 账户
     * @return 结果
     */
    public int insertZhanghu(Zhanghu zhanghu);

    /**
     * 修改账户
     * 
     * @param zhanghu 账户
     * @return 结果
     */
    public int updateZhanghu(Zhanghu zhanghu);

    /**
     * 删除账户
     * 
     * @param zhId 账户主键
     * @return 结果
     */
    public int deleteZhanghuByZhId(String zhId);

    /**
     * 批量删除账户
     * 
     * @param zhIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteZhanghuByZhIds(String[] zhIds);
}
